//
//  NavViewController.m
//  JDFinance
//
//  Created by 黄平 on 2016/12/2.
//  Copyright © 2016年 黄平. All rights reserved.
//

#import "NavViewController.h"

@interface NavViewController ()

@end

@implementation NavViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
}
-(instancetype)initWithRootViewController:(UIViewController *)rootViewController
{
    self = [super initWithRootViewController:rootViewController] ;
    if (self) {
        
        
        //导航栏背景颜色
        self .navigationBar.barTintColor = [UIColor colorWithRed:249.00/225 green:249.00/225 blue:249.00/225 alpha:1.000];
                self.navigationBar.backIndicatorImage = [UIImage imageNamed:@"navTop"] ;
//        导航栏<按钮>字体颜色
        self.navigationBar.tintColor = [UIColor blackColor];
        //导航栏的字体颜色,大小
//        [self.navigationBar setTitleTextAttributes:@{NSForegroundColorAttributeName:[UIColor whiteColor], NSFontAttributeName:[UIFont fontWithName:@"Arial-BoldItalicMT" size:17]}];
//        
    }
    return self ;
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
